#ifndef __COMPONENT_SCRIPT_HPP__
#define __COMPONENT_SCRIPT_HPP__
#include "component.hpp"
#include "lua.hpp"
    class ComponentScript : public Component
    {
    private:
        lua_State *_lvm;
    public:
        Component::CLASS getClassName() const {
            return CLASS::SCRIPT;
        }
        ComponentScript();

        void doString( std::string const& str );
        void setPosition( lua_State* lvm );
    };


#endif // __COMPONENT_SCRIPT_HPP__
